package model

type ArticleCate struct {
	Id       int    `json:"id" form:"id" gorm:"column:id"`
	CateName string `json:"cate_name" form:"cate_name" gorm:"column:cate_name" binding:"required,max=30"`
	Status   int8   `json:"status" form:"status" gorm:"column:status"`
}

func (a ArticleCate) TableName() string {
	return "mp_article_cate"
}
